<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html;charset=UTF-8"%>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>电影详情</title>
</head>
<body>
<h3>欢迎${user.userName}</h3>
<h1>电影详情</h1>
<hr>
电影编号：${movie.id} <br>
电影名称：${movie.movieName}<br>
电影评分：${movie.movieScore}<br>
电影评论：
<c:forEach items="${movie.movieRecord}" var="record">
    <c:if test="${not empty record.movieReviews}">
        <c:out value="${record.movieReviews}"/>
    </c:if>
</c:forEach>

<input type="button" value="后退" onclick="window.history.back()"/>
</body>
</html>
